﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Wslzy.Auxiliary.Infrastructure.Domains;
using Wslzy.Auxiliary.Infrastructure.Domains.Auditing;
using Wslzy.Auxiliary.Infrastructure.Domains.Trees;

namespace Wslzy.Auxiliary.Web.Domains.Models
{
    public class Account : EntityBase<Account, string>, IVersion,IDelete, IAudited<string>,IEnabled,ISortId
    {
        public Account(string id) : base(id)
        {
        }
        public string Name { get; set; }
        public string Pwd { get; set; }
        public string Nick { get; set; }
        public string IdCard { get; set; }
        public string Phone { get; set; }
        public string Email { get; set; }
        public string Token { get; set; }
        public byte[] Version { get; set;  }
        public bool IsDeleted { get; set;  }
        public DateTime? CreationTime { get; set;  }
        public string CreatorId { get; set;  }
        public string CreatorName { get; set;  }
        public DateTime? LastModificationTime { get; set;  }
        public string LastModifierId { get; set;  }
        public string LastModifierName { get; set;  }
        public bool Enabled { get; set; }
        public int? SortId { get; set; }
    }
}
